package http

type Filter interface {
	DoBefore(ctx *Context) error
	DoAfter(ctx *Context) error
}

type BaseFilter struct{}

func NewBaseFilter() *BaseFilter {
	f := &BaseFilter{}

	return f
}

func (f *BaseFilter) DoBefore(ctx *Context) error {
	return nil
}

func (f *BaseFilter) DoAfter(ctx *Context) error {
	return nil
}
